<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            display: grid;
            grid-template-columns: 200px auto 200px;
            grid-template-rows: 100px 400px 100px;
        }
        header,
        footer {
            /* grid-column-start:1;
            grid-column-end:4; */
            /* 简写： */
            grid-column: 1/4;
            background-color: pink;
        }
        aside {
            background-color: red;
        }
        article {
            background-color: green;
        }
    </style>
</head>
<body>
    <div class="container">
        <header>头部</header>
        <aside>左侧</aside>
        <article>中间</article>
        <aside>右侧</aside>
        <footer>底部</footer>
    </div>
</body>
</html>